package com.lau.vo;

import com.lau.entity.SysRole;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author:Lau
 * @create: 2023-12-21 13:51
 * @Description: 用户类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Long id;
    private String username;
    private String email;
    private String sex;
    private String phoneNumber;
    private String status;
    private List<SysRole> sysRoles = new ArrayList<>();

    public User(Long id) {
        this.id = id;
    }
}
